package dao;

import model.Goods;
import model.Order;

import java.util.List;
import java.util.Map;

/**
 * @aythor:侯仪澳
 * @data:2022/7/21
 */
public interface IOrderDao {

    //查询所有订单
    public List<Order> queryAllOrder(Order order);
    //查询一个订单
    public Order queryOneOrder(Order order);
    //查询所有订单分页
    public List<Order> orderLimitPage(Map<String,Object> map);
    //修改发货退款状态值
    public int updateOrderBatch(List<Order> list);
    //修改一个发货退款状态值
    public int updateOneOrderBatch(Order order);
    //插入订单
    public int addOneOrder(Order order);
    //修改订单状态
    public int updateOrderStatus(Order order);
    //定时任务
    public int jobForOrder ();
}
